import java.util.ArrayList;

import Animal.*;
import Area.DefaltZooArea;
import Area.HumanArea;
import Area.WaterArea;

public class Main {
    public static void main(String[] args) throws Exception {
        ZooManager myManager = new ZooManager("小王", 1);
        Mammal Monkey = new Mammal("猴子", 2);
        Mammal Pig = new Mammal("猪猪", 10);// 好多猪，这是饲养场(确信)
        Reptile WanBa = new Reptile("王八", 3);
        Reptile Draggen = new Reptile("龙", 1);
        ZooManager whereAmI = new ZooManager("直立猿", 1);
        ArrayList<Human> Humans = new ArrayList<Human>();
        Humans.add(new Human("老爹", 1));
        Humans.add(new Human("儿子", 1));
        Humans.add(new Human("蹦蹦", 1));
        Humans.add(new Human("狗狗", 1));
        Humans.add(new Human("哈哈", 1));
        Reptile ColorDraggen = new Reptile("变色龙", 3);
        Mammal HaiTun = new Mammal("海豚", 11);
        Mammal JinYv = new Mammal("鲸鱼", 3);
        Mammal FuShi = new Mammal("浮尸", 2);

        DefaltZooArea DefArea = new DefaltZooArea("动物大杂烩区");
        WaterArea waterArea = new WaterArea("水产区");
        HumanArea humanArea = new HumanArea("活体人类区");

        DefArea.AddAnimal(Monkey);
        DefArea.AddAnimal(Pig);
        DefArea.AddAnimal(Draggen);
        DefArea.AddAnimal(whereAmI);

        waterArea.AddAnimal(FuShi);
        waterArea.AddAnimal(WanBa);
        waterArea.AddAnimal(JinYv);
        waterArea.AddAnimal(HaiTun);

        humanArea.AddAnimal(ColorDraggen);
        humanArea.AddHuman(Humans);

        Zoo MayBeIAmZoo = new Zoo();
        MayBeIAmZoo.AddArea(humanArea);
        MayBeIAmZoo.AddArea(waterArea);
        MayBeIAmZoo.AddArea(DefArea);

        System.err.println(MayBeIAmZoo.GetDebugMassage());
    }
}
